package edu.gatech.information;

import org.junit.Test;
import static org.junit.Assert.*;

public class PlanetTest {
    public PlanetTest() {
    }

    @Test
    public void testContains() {
        System.out.println("testContains");

        Planet p = new Planet();
        p.setXPos(20);
        p.setYPos(20);
        boolean expResult = true;
        boolean result = p.contains(20,20);
        assertEquals(expResult, result);
    }    
	 @Test
    public void testNotContains() {
        System.out.println("testNotContains");
        Planet p = new Planet();
        p.setXPos(20);
        p.setYPos(20);
        boolean expResult = false;
        boolean result = p.contains(18,18);
        assertEquals(expResult, result);
    }
}